package com.yidu.verycd_reception.util;

import java.io.Serializable;

public class BasePojo implements Serializable{
    public Integer page;
    public Integer limit;
    public Integer start;

    public Integer getStart() {
        if(page!=null){
            start= (page-1)*limit;
        }
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }
}
